import { Component, Input, OnInit } from '@angular/core';
import { AlertInfo, AlertType, IconType } from 'src/app/const/alert';

@Component({
  selector: 'app-audit-alert',
  templateUrl: './audit-alert.component.html',
  styleUrls: ['./audit-alert.component.scss'],
})
export class AuditAlertComponent implements OnInit {
  IconType = IconType;
  @Input() alertInfo: AlertInfo = {
    auditType: AlertType.WARNING,
    iconType: IconType.ICON,
    title: 'Warning',
    isShowAlertIcon: true,
  };
  @Input() warmTips: string = '';
  @Input() isCloseable: boolean = true;
  constructor() {}

  ngOnInit() {}
}
